using System;
using System.Collections.Generic;
using System.Text;
using NHibernate;
using FutureOpen.Core.func;
using FutureOpen.Core;

namespace FutureOpen.Core.func.cf
{
    public class RecommArt
    {
        public RecommArt(Art art)
        {
            this.art = art;            
        }
        private Art art;

        public Art Art
        {
            get { return art; }
            set { art = value; }
        }
        
        private float sScore;
        protected float SScore
        {
            get { return sScore; }
            set { sScore = value; }
        }
        private float dScore;
        protected float DScore
        {
            get { return dScore; }
            set { dScore = value; }
        }
        private float aScore;
        protected float AScore
        {
            get { return aScore; }
            set { aScore = value; }
        }        

        public void EvaluateScore()
        {
            this.sScore = (float)(this.art.Art_hit + this.art.Art_col);
        }                        
    }
}
